package com.example.seh.home.substitution;
import com.example.seh.UserDTO;
import com.example.seh.home.secondhand.GoodsDTO;

import java.io.Serializable;
import java.util.List;

public class DeliverDTO implements Serializable {
    //订单id
    private Integer deliverId;
    //下单用户id
    private Integer userId;
    //发布人ID
    private Integer issuerId;
    //商品id
    private Integer goodsId;
    //收货地址id
    private Integer addressId;
    //订单总价
    private Double deliverPrice;
    //订单状态
    private Integer deliverStatus;
    //支付方式
    private String paymentMethod;
    //下单时间
    private String createTime;
    //支付时间
    private String paymentTime;
    //发货时间
    private String shippingTime;
    //成交时间
    private String confirmTime;

    private String deliverDesc;
    //取件码
    private String deliverCode;

    private String isDel;

    private UserDTO userDTO;

    private List<AddressInfoDTO> addressInfoDTOList;

    private String addressName;

    private String receiveName;

    private UserDTO issuerDTO;

    public Integer getIssuerId() {
        return issuerId;
    }

    public void setIssuerId(Integer issuerId) {
        this.issuerId = issuerId;
    }

    public Integer getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Integer deliverId) {
        this.deliverId = deliverId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public Double getDeliverPrice() {
        return deliverPrice;
    }

    public void setDeliverPrice(Double deliverPrice) {
        this.deliverPrice = deliverPrice;
    }

    public Integer getDeliverStatus() {
        return deliverStatus;
    }

    public void setDeliverStatus(Integer deliverStatus) {
        this.deliverStatus = deliverStatus;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(String paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getShippingTime() {
        return shippingTime;
    }

    public void setShippingTime(String shippingTime) {
        this.shippingTime = shippingTime;
    }

    public String getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(String confirmTime) {
        this.confirmTime = confirmTime;
    }

    public String getDeliverDesc() {
        return deliverDesc;
    }

    public void setDeliverDesc(String deliverDesc) {
        this.deliverDesc = deliverDesc;
    }

    public String getDeliverCode() {
        return deliverCode;
    }

    public void setDeliverCode(String deliverCode) {
        this.deliverCode = deliverCode;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    public UserDTO getUserDTO() {
        return userDTO;
    }

    public void setUserDTO(UserDTO userDTO) {
        this.userDTO = userDTO;
    }

    public List<AddressInfoDTO> getAddressInfoDTOList() {
        return addressInfoDTOList;
    }

    public void setAddressInfoDTOList(List<AddressInfoDTO> addressInfoDTOList) {
        this.addressInfoDTOList = addressInfoDTOList;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public UserDTO getIssuerDTO() {
        return issuerDTO;
    }

    public void setIssuerDTO(UserDTO issuerDTO) {
        this.issuerDTO = issuerDTO;
    }

    @Override
    public String toString() {
        return "DeliverDTO{" +
                "deliverId=" + deliverId +
                ", userId=" + userId +
                ", issuerId=" + issuerId +
                ", goodsId=" + goodsId +
                ", addressId=" + addressId +
                ", deliverPrice=" + deliverPrice +
                ", deliverStatus=" + deliverStatus +
                ", paymentMethod='" + paymentMethod + '\'' +
                ", createTime='" + createTime + '\'' +
                ", paymentTime='" + paymentTime + '\'' +
                ", shippingTime='" + shippingTime + '\'' +
                ", confirmTime='" + confirmTime + '\'' +
                ", deliverDesc='" + deliverDesc + '\'' +
                ", deliverCode='" + deliverCode + '\'' +
                ", isDel='" + isDel + '\'' +
                ", userDTO=" + userDTO +
                ", addressInfoDTOList=" + addressInfoDTOList +
                ", addressName='" + addressName + '\'' +
                ", receiveName='" + receiveName + '\'' +
                ", issuerDTO=" + issuerDTO +
                '}';
    }
}